function getToken()
{
  $random = mt_rand();
  $token = hash('md5', $random);
  return $token;
}